import React, {FC, useEffect} from 'react';
import {RouteCompProps} from "central-react-router";

interface Page404Props extends RouteCompProps {
}

const Page404: FC<Page404Props> = (props) => {
    const {children} = props;

    useEffect(() => {
        console.log('Page404 组件挂载完毕!');
    }, []);

    console.log('Page404 组件render!');
    return (
        <div>
            <div>Page404 组件</div>
        </div>
    );
};

export default Page404;
